export default {
  path: '/permission',
  component: () => import('@/layout/index.vue'),
  meta: { title: '权限管理', icon: 'dashboard' },
  name: 'permission',
  redirect: '/permission/menu',
  children: [
    {
      path: '/permission/menu',
      component: () => import('@/views/permission/menu'),
      name: 'menu',
      meta: { title: '菜单管理', icon: 'dashboard' }
    },
    {
      path: '/permission/role',
      component: () => import('@/views/permission/role'),
      name: 'role',
      meta: { title: '角色管理', icon: 'dashboard' }
    },
    {
      path: '/permission/user',
      component: () => import('@/views/permission/user'),
      name: 'user',
      meta: { title: '用户管理', icon: 'dashboard' }
    }
  ]
}
